//请求后台的方法
import request from "@/request";

//修改密码
export function selectAllUser() {
  return request({
    url: "/user/selectAll",
    method: "post"
  });
}




//查询指标模块
export function selectByPage(data){
  return request({
    url:'/user/selectByPage',
    method: 'post',
	data
  })
}

//查询指标模块
export function addUser(data){
  return request({
    url:'/user/addUser',
    method: 'post',
	data
  })
}
//查询指标模块
export function updateUser(data){
  return request({
    url:'/user/updateUser',
    method: 'post',
	data
  })
}


export function selectByRoleId(params){
  return request({
    url:'/user/selectByRoleId',
    method: 'post',
	params
  })
}


export function resetPasswd(data){
  return request({
    url:'/user/resetPasswd',
    method: 'resetPasswd',
	data
  })
}
